package com.example.waimai_demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
//这个注解让过滤器生效@ServletComponentScan
@ServletComponentScan
@SpringBootApplication
public class WaimaiDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(WaimaiDemoApplication.class, args);
    }

}
